<%-- 
    Document   : header
    Created on : 25-feb-2012, 12:40:57
    Author     : Home
--%>

<%@page import="com.techopropio.bfh.model.Convocatoria"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.util.Date"%>
<%@page import="com.techopropio.bfh.model.JefeFamilia"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <body>
        <%
             JefeFamilia jefeFamilia = (JefeFamilia)session.getAttribute("usuario");
            Date fecha = new Date(); // fecha y hora locales 
            SimpleDateFormat formatoFecha = new SimpleDateFormat("dd-MM-yy"); 
            SimpleDateFormat formatoHora = new SimpleDateFormat("HH:mm"); 
            Convocatoria convocatoria = (Convocatoria)session.getAttribute("convocatoria");
        %>
       <table border="0" cellpadding="0" cellspacing="0" align="center" background="./views/images/fondo_cabecera_usuario.png">
	<tr>
		<td height="130" align="center" width="240"><a  href="#"><img src="./views/images/logo.png" width="80" height="113" border="0" alt="Usuario"></a></td>
		<td width="403">
			<table border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td><img src="./views/images/c1.gif" width="5" height="5" border="0" alt=""></td>
					<td style="background: url(images/c_top.gif)"><img src="./views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
					<td><img src="./views/images/c2.gif" width="5" height="5" border="0" alt=""></td>
				</tr>
				<tr>
					<td style="background: url(images/c_left.gif)"><img src="./views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
					<td width="393" align="left">
						<table border="0" cellpadding="0" cellspacing="0">
							<tr>
																
								<td>
                                                                    <div style="padding: 3px 0 3px 0"><img src="./views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Convocatoria: <%=convocatoria.getNombre() %></u></a></div>
                                                                    <div style="padding: 3px 0 3px 0"><img src="./views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Nombres: <%= jefeFamilia.getNombres() %></u></a></div>
                                                                    <div style="padding: 3px 0 3px 0"><img src="./views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Apellidos: <%=jefeFamilia.getApellidos() %></u></a></div>
                                                                    <div style="padding: 3px 0 3px 0"><img src="./views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>DNI: <%=jefeFamilia.getDni() %></u></a></div>
                                                                    <div style="padding: 3px 0 3px 0"><img src="./views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Fecha: <%=formatoFecha.format(fecha) %>  </u></a></div>
                                                                    <div style="padding: 3px 0 3px 0"><img src="./views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Hora: <%=( formatoHora.format(fecha) ) %></u></a></div>
                                                                    
    								</td>
								
																
							</tr>
						</table>
					</td>
					<td style="background: url(images/c_right.gif)"><img src="./views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
				</tr>
				<tr>
					<td><img src="./views/images/c4.gif" width="5" height="5" border="0" alt=""></td>
					<td style="background: url(images/c_bot.gif)"><img src="./views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
					<td><img src="./views/images/c3.gif" width="5" height="5" border="0" alt=""></td>
				</tr>
			</table>
		</td>
		<td><img src="./views/images/spacer.gif" width="5" height="1" border="0" alt=""></td>
	</tr>
    </table>
    </body>
</html>
